package cn.iocoder.yudao.module.chatgpt.controller.admin.chat.params.chat;

import cn.iocoder.yudao.module.chatgpt.controller.admin.chat.params.chat.model.ChoiceModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
@Schema(description = "聊天返回结果")
public class ChatResult {
    @Schema(description = "chat-id")
    private String id;

    @Schema(description = "调用对象")
    private String object;

    @Schema(description = "创建ID")
    private Long created;

    @Schema(description = "使用模型")
    private String model;

    @Schema(description = "token消耗")
    private Map<String,String> usage;

    // 可选结果集合
    @Schema(description = "可选结果集合")
    List<ChoiceModel> choices;
}
